//TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
public class Main {
    public static void main(String[] args) {
        Dog dog = new Dog();
        System.out.println(dog.age);
    }

}
class Dog{
    private String color = "huang";
    public String name = "ww";
    public int age = 2;

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}